package com.ssy.lingxi.purchase.repository.tender;

import com.ssy.lingxi.purchase.entity.tender.SubmitTenderMateriel;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * 投标物料持久化层
 * @author jw.chen
 * @version 2.0.0
 * @date 2021/3/22
 */
public interface SubmitTenderMaterielRepository extends JpaRepository<SubmitTenderMateriel,Long>, JpaSpecificationExecutor<SubmitTenderMateriel> {
    Page<SubmitTenderMateriel> findBySubmitTenderIdAndIsAwardTender(Long submitTenderId, Boolean isAwardTender, Pageable page);
}
